﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Collections;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x02001395 RID: 5013
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class TakeRogueMiracleHandbookRewardCsReq : IMessage<TakeRogueMiracleHandbookRewardCsReq>, IMessage, IEquatable<TakeRogueMiracleHandbookRewardCsReq>, IDeepCloneable<TakeRogueMiracleHandbookRewardCsReq>, IBufferMessage
	{
		// Token: 0x17003F36 RID: 16182
		// (get) Token: 0x0600E07B RID: 57467 RVA: 0x002584A1 File Offset: 0x002566A1
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<TakeRogueMiracleHandbookRewardCsReq> Parser
		{
			get
			{
				return TakeRogueMiracleHandbookRewardCsReq._parser;
			}
		}

		// Token: 0x17003F37 RID: 16183
		// (get) Token: 0x0600E07C RID: 57468 RVA: 0x002584A8 File Offset: 0x002566A8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return TakeRogueMiracleHandbookRewardCsReqReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x17003F38 RID: 16184
		// (get) Token: 0x0600E07D RID: 57469 RVA: 0x002584BA File Offset: 0x002566BA
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return TakeRogueMiracleHandbookRewardCsReq.Descriptor;
			}
		}

		// Token: 0x0600E07E RID: 57470 RVA: 0x002584C1 File Offset: 0x002566C1
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public TakeRogueMiracleHandbookRewardCsReq()
		{
		}

		// Token: 0x0600E07F RID: 57471 RVA: 0x002584D4 File Offset: 0x002566D4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public TakeRogueMiracleHandbookRewardCsReq(TakeRogueMiracleHandbookRewardCsReq other) : this()
		{
			this.handbookMiracleList_ = other.handbookMiracleList_.Clone();
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x0600E080 RID: 57472 RVA: 0x002584FE File Offset: 0x002566FE
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public TakeRogueMiracleHandbookRewardCsReq Clone()
		{
			return new TakeRogueMiracleHandbookRewardCsReq(this);
		}

		// Token: 0x17003F39 RID: 16185
		// (get) Token: 0x0600E081 RID: 57473 RVA: 0x00258506 File Offset: 0x00256706
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RepeatedField<uint> HandbookMiracleList
		{
			get
			{
				return this.handbookMiracleList_;
			}
		}

		// Token: 0x0600E082 RID: 57474 RVA: 0x0025850E File Offset: 0x0025670E
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as TakeRogueMiracleHandbookRewardCsReq);
		}

		// Token: 0x0600E083 RID: 57475 RVA: 0x0025851C File Offset: 0x0025671C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(TakeRogueMiracleHandbookRewardCsReq other)
		{
			return other != null && (other == this || (this.handbookMiracleList_.Equals(other.handbookMiracleList_) && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x0600E084 RID: 57476 RVA: 0x00258550 File Offset: 0x00256750
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			num ^= this.handbookMiracleList_.GetHashCode();
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x0600E085 RID: 57477 RVA: 0x00258584 File Offset: 0x00256784
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x0600E086 RID: 57478 RVA: 0x0025858C File Offset: 0x0025678C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x0600E087 RID: 57479 RVA: 0x00258595 File Offset: 0x00256795
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			this.handbookMiracleList_.WriteTo(ref output, TakeRogueMiracleHandbookRewardCsReq._repeated_handbookMiracleList_codec);
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x0600E088 RID: 57480 RVA: 0x002585BC File Offset: 0x002567BC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			num += this.handbookMiracleList_.CalculateSize(TakeRogueMiracleHandbookRewardCsReq._repeated_handbookMiracleList_codec);
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x0600E089 RID: 57481 RVA: 0x002585F5 File Offset: 0x002567F5
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(TakeRogueMiracleHandbookRewardCsReq other)
		{
			if (other == null)
			{
				return;
			}
			this.handbookMiracleList_.Add(other.handbookMiracleList_);
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x0600E08A RID: 57482 RVA: 0x00258623 File Offset: 0x00256823
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x0600E08B RID: 57483 RVA: 0x0025862C File Offset: 0x0025682C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 120U && num != 122U)
				{
					this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
				}
				else
				{
					this.handbookMiracleList_.AddEntriesFrom(ref input, TakeRogueMiracleHandbookRewardCsReq._repeated_handbookMiracleList_codec);
				}
			}
		}

		// Token: 0x040058E7 RID: 22759
		private static readonly MessageParser<TakeRogueMiracleHandbookRewardCsReq> _parser = new MessageParser<TakeRogueMiracleHandbookRewardCsReq>(() => new TakeRogueMiracleHandbookRewardCsReq());

		// Token: 0x040058E8 RID: 22760
		private UnknownFieldSet _unknownFields;

		// Token: 0x040058E9 RID: 22761
		public const int HandbookMiracleListFieldNumber = 15;

		// Token: 0x040058EA RID: 22762
		private static readonly FieldCodec<uint> _repeated_handbookMiracleList_codec = FieldCodec.ForUInt32(122U);

		// Token: 0x040058EB RID: 22763
		private readonly RepeatedField<uint> handbookMiracleList_ = new RepeatedField<uint>();
	}
}
